home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DESKHING / PICTURE3.LZH / TXT2.EXE / MANUAL2.TXT < prev    next >
Text File  |  1991-12-31  |  56KB  |  955 lines

  1.          PICTURETHIS(TM) "SHAREWARE" VERSION
  2.  
  3.          RELEASE 4.00
  4.  
  5.          DECEMBER 31, 1991
  6.  
  7.          USER MANUAL, PART 2 OF 7 PARTS
  8.  
  9.  
  10.          Copyright 1988, 1989, 1990, 1991 by Patricia Y. Williams and
  11.            Gregory Williams, All Rights Reserved.
  12.  
  13.          HortIdeas Publishing, 460 Black Lick Road, Gravel Switch,
  14.            KY 40328 U.S.A.
  15.  
  16.  
  17.          9. FINDING ENDPOINTS
  18.  
  19.            To move the cursor to an endpoint of a previously drawn
  20.          curve, first press the Del key on the numeric keypad (with
  21.          NumLock NOT toggled on and Shift NOT pressed). The cursor
  22.          jumps to the endpoint which was APPROXIMATELY closest to the
  23.          cursor's position when Del was pressed. (The measure of
  24.          "closeness" used by PictureThis here is the sum of the
  25.          horizontal distance and the vertical distance, rather than
  26.          the true distance, for faster program operation.) All of the
  27.          curves having that endpoint become dashed to help you
  28.          distinguish the endpoint at which the cursor is now located
  29.          from other nearby endpoints.
  30.            If you want to move the cursor to another endpoint, press
  31.          Space or + to shift the cursor to the NEXT closest endpoint
  32.          on the screen to the ORIGINAL cursor position when the Del
  33.          key was pressed. Or press - to move the cursor to the
  34.          "previous" endpoint (which at first is the FURTHEST endpoint
  35.          from the ORIGINAL cursor location). Continue pressing Space,
  36.          +, and/or - until the cursor is at the desired endpoint.
  37.            When the cursor is at the desired endpoint, press any key
  38.          except Space, +, -, Enter, or Esc. The cursor remains at the
  39.          selected endpoint, and the operation specified by the
  40.          pressed key is carried out (for example, if F1 was pressed,
  41.          a new curve is started); if a currently invalid key is
  42.          pressed, the speaker beeps. If you prefer to remain at the
  43.          endpoint and NOT start another operation, press Enter. In
  44.          either case, the curves that were dashed become solid again.
  45.            Pressing Esc at any time during the operation moves the
  46.          cursor back to its original position when Del was pressed
  47.          and returns all dashed curves to solid again.
  48.            The cursor can be moved to an endpoint by using this
  49.          operation any time you can move with the cursor keys, except
  50.          when moving along a guideline (see Sections 8.2 and 8.3).
  51.            Because the internal coordinates of the endpoints are
  52.          finer than the screen resolution (see Section 20.3) at all
  53.          screen magnifications except the highest (2400%), the cursor
  54.          can APPEAR to be at an endpoint when it ISN'T -- the screen
  55.          resolution is too low to distinguish "close to" from "at."
  56.          IF YOU WANT TO POSITION THE CURSOR EXACTLY ON AN ENDPOINT,
  57.          USE THE MOVE-TO-ENDPOINT OPERATION TO BE SURE.
  58.  
  59.          10. SMOOTHING CURVES
  60.  
  61.                                         17
  62.  
  63.            Using smoothing, you can draw a succession of curves end-
  64.          to-end so that two curves sharing an endpoint also have the
  65.          same direction (are tangent to each other) at the shared
  66.          endpoint. Smoothing can be accessed either manually or
  67.          automatically.
  68.  
  69.          10.1. MANUAL SMOOTHING
  70.  
  71.            For manual smoothing, during the drawing of a curve (after
  72.          F1 has been pressed at least once to define an endpoint),
  73.          press S to move the cursor to the endpoint associated with
  74.          the currently selected control point IF ONE OR MORE
  75.          PREVIOUSLY DRAWN CURVES ALSO HAVE THAT ENDPOINT. If NO
  76.          previously drawn curves also have that endpoint, then you
  77.          the speaker beeps (if toggled on) and an error message
  78.          appears (if toggled on); the cursor remains where it is. If
  79.          there is ONE previously drawn curve with ONE end at that
  80.          endpoint, a line tangent to that previously drawn curve at
  81.          the endpoint will appear. If there are TWO OR MORE
  82.          previously drawn curves with that endpoint, or ONE
  83.          previously drawn curve with BOTH of its ends at that
  84.          endpoint, a prompt ("Next: +, Space"/ "Previous: -"/"Select:
  85.          Enter") appears on the left side of the screen, and one of
  86.          the previously drawn curves is dashed to distinguish it. If
  87.          you want to draw the new curve tangent to the dashed curve
  88.          at their shared endpoint, press Enter. A guideline tangent
  89.          to the dashed curve at its endpoint appears. Otherwise, by
  90.          repeatedly pressing Space, +, and/or -you can cause each of
  91.          the previously drawn curves with the selected endpoint to be
  92.          dashed successively. When the curve to which you want the
  93.          new curve being drawn to be tangent at their shared endpoint
  94.          is dashed, press Enter to select it. A guideline tangent to
  95.          the dashed curve at its endpoint appears, unless guidelines
  96.          are toggled off (see Section 10.3). For a previously drawn
  97.          curve with both ends at the endpoint, pressing Enter when
  98.          that curve is dashed causes a guideline tangent to one of
  99.          its ends to appear; if you want to select the tangent to the
  100.          OTHER end, instead press Esc, then S, and then Space, +,
  101.          and/or - (repeatedly) to cycle through the curves until the
  102.          curve with both ends at the selected endpoint again becomes
  103.          dashed. This time when Enter is pressed, a guideline tangent
  104.          to the OTHER end appears, unless guidelines are toggled off
  105.          (see Section 10.3).
  106.            The new curve's control point associated with the shared
  107.          endpoint is constrained to move along the tangent guideline
  108.          (whether visible or not). To move the control point with the
  109.          cursor, first use the cursor key on the numeric keypad
  110.          closest to the guideline direction (away from the previously
  111.          drawn curve). Then use the "opposite" cursor key to move the
  112.          other direction on the guideline (example: first 9, then 1).
  113.          Note: By pressing Ins, you can toggle the cursor to move 1
  114.          or 10 pixels (NOT any other units, regardless of the current
  115.          units) per key press along the guideline. The new curve
  116.          being drawn and the previously drawn curve have the same
  117.          tangent at the endpoint they share: in other words, the two
  118.          curves together form a SMOOTH curve (OR, if you move the
  119.          control point back along the tangent guideline in the
  120.          direction of the previously drawn curve, the two curves form
  121.          a CUSP). Note: To GUARANTEE a truly smooth curve or a true
  122.          cusp, you MUST move the control point of the new curve which
  123.  
  124.                                         18
  125.  
  126.          is associated with the shared endpoint AT LEAST ONE pixel
  127.          along the tangent guideline.
  128.            On a tangent guideline, control point position is
  129.          indicated by a "missing" (background-colored) pixel. Move
  130.          between the two control points of the new curve by pressing
  131.          F2. A control point not constrained to move along a tangent
  132.          line is moved by pressing the numeric keypad number keys, as
  133.          usual. Note that BOTH control points of a new curve can be
  134.          constrained by smoothing, if both of the new curve's
  135.          endpoints are located at endpoints of previously drawn
  136.          curves (press S when one of the control points is selected,
  137.          select a previously drawn curve for smoothing, then press F2
  138.          to choose the other control point, press S again, and select
  139.          another previously drawn curve for smoothing). After shaping
  140.          the new curve as you desire by positioning its control
  141.          points, press F3 to set it; this also erases tangent
  142.          guidelines.
  143.            While drawing with smoothing, pressing Esc when the cursor
  144.          is at the control point associated with an endpoint WITH a
  145.          tangent constraint causes the tangent guideline to be erased
  146.          and leaves the cursor at the same position; then that
  147.          control point can be moved WITHOUT constraint by the numeric
  148.          keypad number keys. Pressing Esc when the cursor is at the
  149.          control point associated with an endpoint WITHOUT a tangent
  150.          constraint erases any tangent guidelines, and provides the
  151.          usual escape from drawing a curve.
  152.  
  153.          10.2. AUTOMATIC SMOOTHING
  154.  
  155.            For quick drawing of a succession of continuous smooth
  156.          curves, you can toggle automatic smoothing on by pressing A.
  157.          Pressing A again toggles automatic smoothing off and results
  158.          in the cursor returning to the FIRST endpoint of a curve,
  159.          instead of the second endpoint, when the curve is set.
  160.          Pressing A yet again results in the cursor returning to the
  161.          second endpoint of a curve when the curve is set, with
  162.          automatic smoothing toggled off. This three-way toggling can
  163.          be done almost any time a menu does not appear at the top of
  164.          the screen, and the toggled state remains in effect until
  165.          you toggle again. The automatic smoothing indicator in the
  166.          status box reads "A " when automatic smoothing is off and
  167.          the cursor returns to the second endpoint when a curve is
  168.          set, "A+" when automatic smoothing is on and the cursor
  169.          returns to the second endpoint when a curve is set, and "A-"
  170.          when automatic smoothing is off and the cursor returns to
  171.          the first endpoint when a curve is set.
  172.            With automatic smoothing ON, just after you have finished
  173.          drawing a curve (F3 has been pressed and the cursor is
  174.          positioned at the second endpoint of the curve), if you
  175.          press F1 to start drawing a new curve with its first
  176.          endpoint at the second endpoint of the curve just drawn, a
  177.          guideline tangent to the curve just drawn appears at its
  178.          second endpoint (if guidelines are toggled on; see Section
  179.          10.3). Proceed by defining a second endpoint for the new
  180.          curve as usual (move the cursor with the numeric keypad
  181.          number keys and press F1 again). The control point
  182.          associated with the first endpoint of the new curve (which
  183.          is also the second endpoint of the curve just drawn) is
  184.          constrained to move along the tangent guideline. Other
  185.          details are as given above with manual smoothing selected.
  186.  
  187.                                         19
  188.  
  189.          10.3. REMOVING GUIDELINES
  190.  
  191.            If you don't want to see tangent guidelines during
  192.          smoothing, or if you don't want the guidelines visible when
  193.          drawing a circle, oval, or square (perhaps for a better view
  194.          of an area of a drawing having many curves close together),
  195.          press E. This is a toggle; pressing it a second time
  196.          restores the guidelines to view. "Invisible" guidelines
  197.          still constrain cursor movement during smoothing or drawing
  198.          a square or an oval. The guideline erase indicator in the
  199.          status box reads "E-" if the guidelines are visible, "E+" if
  200.          they are invisible.
  201.  
  202.          11. CUTTING CURVES
  203.  
  204.            Curves can be connected to each other with precision ONLY
  205.          at shared endpoints (see Section 9) -- but you CAN attach
  206.          new curves to arbitrary points on previously drawn curves.
  207.          How? By "cutting" a previously drawn curve into TWO smoothly
  208.          connected curves, which together very closely approximate
  209.          the original curve. These two curves share a NEW endpoint
  210.          which results from the cutting operation.
  211.            To begin cutting a curve, press F5. The state changes to
  212.          "CUT" and the cursor moves to the nearest endpoint; all
  213.          curves associated with that endpoint are dashed, just as if
  214.          you had pressed Del (see Section 9). Now press Space, +,
  215.          and/or - (repeatedly) until the cursor is on one of the
  216.          endpoints of the curve you wish to cut. Press Enter to
  217.          select that endpoint. If only one curve is associated with
  218.          the selected endpoint, it becomes dashed. If two or more
  219.          curves are associated with the selected endpoint, dash the
  220.          curve you want to cut by pressing Space, +, and/or -, and
  221.          select it with Enter. The selected curve does NOT have to be
  222.          entirely on the visible screen.
  223.            Next, move the cursor ALONG the curve with the cursor
  224.          keys. Ins can be used to switch the cursor movement
  225.          increment between 1 and 10 pixels. (Note: If the curve goes
  226.          off the edge of the screen and then back onto the screen,
  227.          the moving cursor will jump from where the curve leaves the
  228.          screen to where it reenters the screen.) When the cursor is
  229.          located where you want a new endpoint, press F3. A new
  230.          endpoint and two new curves replace the original curve, and
  231.          the state is "FREE." The new curves have the same line
  232.          parameters as the original curve (see Sections 12 and 15).
  233.          These new curves are automatically inserted into the trail
  234.          of which the original curve was part, in place of the
  235.          original curve (see Section 14).
  236.  
  237.          12. MODIFYING CURVES
  238.  
  239.            To alter a previously drawn curve, press F4. The state
  240.          becomes "CURMOD." The cursor automatically jumps to the
  241.          closest endpoint and any curves associated with that
  242.          endpoint are dashed (as if you pressed Del). Press Space, +,
  243.          and/or - repeatedly (see Section 9) until the cursor is on
  244.          one of the endpoints of the curve you want to modify. Then
  245.          press Enter. If there is only one curve with the selected
  246.          endpoint, it is dashed, and a menu box (described below)
  247.          appears. If there are two or more curves with the selected
  248.          endpoint, a box with instructions ("Next: +,
  249.  
  250.                                         20
  251.  
  252.          Space"/"Previous: -" /"Select: Enter") appears, and one
  253.          curve with the selected endpoint is dashed. If you want to
  254.          alter the dashed curve, press Enter; otherwise, by pressing
  255.          Space, +, and/or -repeatedly, you can cause any of the
  256.          curves with the endpoint to be dashed successively. When the
  257.          curve you want to modify is dashed, press Enter; a menu box
  258.          appears, with three options: Erase, Change, and Line.
  259.          Pressing Esc backs out to the "FREE" state.
  260.  
  261.          12.1. ERASING A CURVE
  262.  
  263.            While in the "CURMOD" state, the Erase option is accessed
  264.          by pressing E. This places a prompt in the menu box ("Erase
  265.          selected curve (Y/N)"), and sets the state to "ERASE." If
  266.          you want to erase the curve, press Y. This erases the dashed
  267.          curve. The cursor remains at the originally selected end
  268.          point, the menu box disappears, and the state returns to
  269.          "FREE." Any other key will not erase the curve, and returns
  270.          you to the curve modification menu and state "CURMOD."
  271.            You cannot erase a curve bounding a filled area unless you
  272.          first change the fill to none (-1) (see Section 14.3). If
  273.          you try to erase such a curve, an error message appears, the
  274.          curve modification menu reappears, and the state returns to
  275.          "CURMOD."
  276.  
  277.          12.2. CHANGING A CURVE
  278.  
  279.            While in the "CURMOD" state, the Change option is accessed
  280.          by pressing C. IF both endpoints of the selected curve are
  281.          on the screen, the curve is dashed and a straight line
  282.          appears between the curve's endpoints. The state is now
  283.          "CHANGE." (If one of the selected curve's endpoints is not
  284.          on the screen, you hear a beep (and see an error message if
  285.          toggled on) and return to the "FREE" state.)
  286.            Now you can alter the shape of the replacement curve, but
  287.          NOT the placement of its endpoints) via the F2, cursor, and
  288.          F3 keys, as described above in Section 7.2. You also can
  289.          smooth the curve, as described in Section 10. Throughout the
  290.          alteration process, the original curve is dashed; this
  291.          dashed curve disappears when F3 is pressed to end the
  292.          process. Note: during the changing procedure, if Esc is
  293.          pressed, the original curve becomes undashed, with the
  294.          cursor at the curve's starting endpoint, and the state
  295.          returns to "FREE."
  296.  
  297.          12.3. CHANGING A CURVE'S LINE PARAMETERS
  298.  
  299.            Each curve has four line parameters associated with it:
  300.          line weight ("thickness"), line gray percentage (the gray
  301.          shading of the curve, ranging from white to black), linecap
  302.          (the style of the ends of the curve), and dash pattern. Each
  303.          newly drawn curve is assigned the current "GLOBAL" values
  304.          for these parameters. When PictureThis is first loaded, the
  305.          values for the global parameters are as follows: line
  306.          weight, 1 PostScript point (EXACTLY 1/72 inch; NOT equal to
  307.          1 traditional printer's point, which is only APPROXIMATELY
  308.          1/72 inch); line gray, 100% (black; 0% corresponds to
  309.          white); dash, solid (that is, no dash at all); linecap,
  310.          round. These GLOBAL line parameters may be changed at any
  311.          time (see Section 15). The following procedures will change
  312.  
  313.                                         21
  314.  
  315.          a SELECTED curve's line parameters ("LOCALLY"), from the
  316.          "CURMOD" menu.
  317.            The Line option is accessed by pressing L. This allows
  318.          changes in line weight, line gray percentage, linecap, and
  319.          dash pattern. The state changes to "THISLN," and a line
  320.          parameter change menu appears. The top line of the menu
  321.          lists items which can be altered (Weight, Gray, Linecap, and
  322.          Dash) and the word Keep. The second line of the menu
  323.          displays current values of these parameters for the selected
  324.          curve (shown dashed).
  325.  
  326.          12.3.1. CHANGING LINE WEIGHT
  327.  
  328.            To change the weight of the selected curve, press W when
  329.          the line parameter menu is showing. A line weight prompt
  330.          appears. Its first line displays the current line weight in
  331.          PostScript points (one PostScript point = EXACTLY 1/72
  332.          inch). The second line requests that you enter a new line
  333.          weight in points. If you are satisfied with the current line
  334.          weight, press Enter or Esc; this takes you back to the line
  335.          parameter menu with no change in line weight of the selected
  336.          curve. If you want to change the line weight, key in a
  337.          number between -0 and 327.00 and then press Enter. If you
  338.          set the line weight between .01 and 327.00, the weight of
  339.          the curve on the Quickshow screen (see Section 13) and the
  340.          PostScript output equals that value (as close as the output
  341.          device allows). If you set the weight to 0, the curve's
  342.          thickness is "hairline," the least thickness available on
  343.          the particular output device used (quite thin on 300 dpi
  344.          laser printers; almost invisible on 1270 and 2540 dpi
  345.          imagesetters). If you set the weight to a negative number,
  346.          it is stored as -1. In PictureThis, -1 line weight means
  347.          that the curve is a "construction" or "blue" curve; that is,
  348.          it does not appear on the output at all, but is used only as
  349.          a reference curve, or is part of a trail filled with a gray
  350.          shade, but doesn't show (see Section 14.3). A curve with a
  351.          line weight of -1 is shown as dotted on the drawing screen
  352.          of PictureThis, and it does not appear at all on the
  353.          Quickshow screen (see Section 13) or the Viewscreen (see
  354.          Section 25.1).
  355.            An invalid input results in an error message (and a chance
  356.          to try again).
  357.            After you have entered a valid line weight, the line
  358.          parameter menu reappears with the line weight in the second
  359.          line changed to the new line weight.
  360.  
  361.          12.3.2. CHANGING LINE GRAY
  362.  
  363.            To change the selected curve's gray shade, press G when
  364.          the line parameter menu is showing. A line gray prompt will
  365.          appear. The first line of this prompt indicates the current
  366.          line gray, from 0% (white) to 100% (black). The second line
  367.          requests that you enter a new line gray percentage. If you
  368.          are satisfied with the current gray, press Enter or Esc, and
  369.          the line parameter menu reappears with an unchanged line
  370.          gray percentage. If you want to change the line gray
  371.          percentage, enter a number between 0 (white) and 100
  372.          (black). An invalid entry results in an error message (and a
  373.          chance to try again). When you have entered a legal line
  374.          gray percentage, the line parameter menu reappears with the
  375.  
  376.                                         22
  377.  
  378.          line gray percentage in the second line changed to the new
  379.          line gray percentage.
  380.  
  381.          12.3.3. CHANGING THE LINECAP
  382.  
  383.            To change the selected curve's linecap, press L when the
  384.          line parameter menu is showing. A linecap menu appears. The
  385.          first line of the menu shows the current linecap. The second
  386.          line allows you to change the cap to Butt, Round, or Square.
  387.          Pressing Esc returns to the line parameter menu without
  388.          changing the linecap. Pressing B, R, or S changes the
  389.          linecap to butt, round, or square, respectively, and returns
  390.          to the line parameter menu with the new linecap displayed in
  391.          the second line.
  392.            For thin curves, the linecap has little importance, since
  393.          it is barely visible; for thick curves, the linecap can be
  394.          very significant. A butt cap is a straight line oriented
  395.          perpendicular to a curve, located at the curve's endpoint. A
  396.          round cap is a semicircle with radius equal to one-half of
  397.          the line width, centered on the curve's endpoint (so it
  398.          extends beyond the endpoint). A square cap is a straight
  399.          line oriented perpendicular to the end of the curve, located
  400.          beyond the curve's endpoint a distance equal to one-half of
  401.          the line width. To see the differences among these linecaps,
  402.          draw three horizontal lines on the screen with the same
  403.          large line weight (say, 100 points), and choose a different
  404.          linecap for each line, then view the lines on the Quickshow
  405.          screen (see Section 13).
  406.  
  407.          12.3.4. CHANGING THE DASH PATTERN
  408.  
  409.            To change the selected curve's dash pattern, press D when
  410.          the line parameter menu is showing. A dash pattern menu
  411.          appears. The current dash pattern is shown on the second
  412.          line of the menu. You can choose a new dash pattern from six
  413.          user-settable dash patterns (see Section 15.2) plus the
  414.          (default) solid setting. Each dash pattern has a number,
  415.          shown in parentheses at the right of the second line of the
  416.          menu. Solid is 0; the user-settable patterns are 1 through
  417.          6. Press Spacebar, +, and/or - repeatedly to cycle through
  418.          the dash patterns; notice that, for each dash pattern,
  419.          information is provided about its current settings (see
  420.          Section 15.2 for details on these settings). If you want to
  421.          change the Offset setting (between 0.0 and 25.5 points; see
  422.          Section 15.2) for the dash pattern shown, press O; you're
  423.          shown the current offset setting and prompted to key in a
  424.          new one (press Esc to return to the dash pattern menu
  425.          without changing the offset setting). At the dash pattern
  426.          menu, press K (for "Keep") or Enter to use the dash pattern
  427.          shown, or press Esc to use the old dash pattern (with its
  428.          old offset setting); in either case, the line parameter menu
  429.          reappears.
  430.  
  431.          12.3.5. SAVING THE LINE PARAMETERS
  432.  
  433.            To save the line parameters displayed on the second line
  434.          of the line parameter menu, press K (for "Keep") or Enter.
  435.          This saves the line parameters for the selected curve and
  436.          returns to the "FREE" state. If you press Esc while the line
  437.          parameter menu is on the screen, any changes which you made
  438.  
  439.                                         23
  440.  
  441.          to the weight, gray percentage, linecap, and/or dash pattern
  442.          are NOT saved. You can change any of the line parameters any
  443.          number of times before you press K or Enter; only the final
  444.          values are saved.
  445.  
  446.          13. QUICKSHOW SCREEN
  447.  
  448.            The Quickshow screen allows you to see a quickly drawn
  449.          screen representation corresponding to "showpage" in the
  450.          PostScript language -- in other words, a representation of
  451.          what the hard copy output will look like. To see the
  452.          Quickshow screen for the current drawing screen (only in the
  453.          "FREE" state), press Q.
  454.            The Quickshow screen can be accessed at any magnification,
  455.          and it can be zoomed or scrolled (see Section 6). The
  456.          Quickshow screen "clips" curves (stops drawing them) at the
  457.          current frame boundaries, shows approximations for proper
  458.          line weights, line gray percentages, and linecaps (see
  459.          Section 12.3), and shows dashed curves as dashed (though NOT
  460.          with approximations to their individual dash patterns). It
  461.          also shows joins and fills of trails (see Section 14) and
  462.          layering of objects (see Section 16.4). Of course, the low
  463.          resolution of the screen makes accurate representation of
  464.          fine lines impossible, some curves have the "jaggies," and
  465.          the grays are VERY approximate -- still, the Quickshow
  466.          screen is a good way to predict how the PostScript output
  467.          will appear.
  468.            Note: PostScript hard copy output does NOT show dots
  469.          (drawn by pressing F1 and then F3, without moving the cursor
  470.          in between) with non-solid dash patterns or with square or
  471.          butt linecaps, so such dots also are NOT shown on the
  472.          Quickshow screen. Dots with dash setting 0 (see Section
  473.          15.2) and round linecaps (see Section 12.3.3) -- the
  474.          defaults in PictureThis -- are shown as circles with a
  475.          diameter equal to the line weight on both the hard-copy
  476.          output and on the Quickshow screen.
  477.            When the Quickshow screen has finished drawing, pressing
  478.          Esc returns the state to "FREE" and restores the drawing
  479.          screen to reflect what was last on the Quickshow screen.
  480.            Pressing Esc while the Quickshow screen is drawing stops
  481.          the drawing. Pressing Esc again returns to the "FREE" state.
  482.            Very wide curves appear rather slowly on the Quickshow
  483.          screen when drawn with the highest possible precision
  484.          (especially if you have a slow computer). For this reason,
  485.          there is a user-settable "flatness" parameter that allows a
  486.          trade-off between the speed and precision of such curves on
  487.          the Quickshow screen. To set this parameter, press F9. The
  488.          state changes to "MISC," and the miscellaneous operations
  489.          menu will appear. To change the flatness parameter, press F.
  490.          A Flatness menu appears, and you can choose between flat
  491.          (faster) curves (by pressing F) or round (more accurate)
  492.          curves (by pressing R). The default setting for the flatness
  493.          parameter is flat (faster). If they are very wide, flat
  494.          curves are indeed "flatter" than round curves on the
  495.          Quickshow screen, but not on the PostScript output.
  496.            At high magnifications, sometimes there are errors in the
  497.          ways extremely wide lines are shown on the Quickshow screen.
  498.          This happens very rarely (due to an overflow) and is
  499.          essentially harmless, so we decided not to correct it (an
  500.          undertaking which would make the program run significantly
  501.  
  502.                                         24
  503.  
  504.          slower).
  505.            Saving and retrieving drawing files can be done while on
  506.          the Quickshow screen (see Sections 19.1 and 19.2).
  507.            To change the background color of the CGA Quickshow
  508.          screen, press B repeatedly to cycle through the 16
  509.          possibilities. The default is light gray. This is especially
  510.          useful if running in CGA mode on a VGA screen.
  511.  
  512.          14. TRAILS, FILLS, AND JOINS
  513.  
  514.            A trail is a group of curves. Trails are useful because
  515.          they can bound areas filled with gray shades, and because
  516.          the points where the curves in a trail meet can be made to
  517.          join neatly (important for wide curves). (Note: Trails are
  518.          similar but NOT identical to the "paths" defined in the
  519.          PostScript language.)
  520.            The most common trails are continuously connected curves.
  521.          If you draw a curve, then draw a second curve connected so
  522.          that its first endpoint is the same as the first curve's
  523.          second endpoint, (that is, you press F1 for the first
  524.          endpoint of the second curve WITHOUT moving the cursor after
  525.          pressing F3 to establish the first curve), you have drawn a
  526.          trail of two curves. As long as you continue to connect the
  527.          curves in this manner ("head-to-tail," so to speak), they
  528.          are all automatically in one trail. If you connect the
  529.          second endpoint of the final curve in your trail to the
  530.          first endpoint of the first curve, you have made a closed
  531.          trail. Closed trails can be filled with a gray shade.
  532.          (Actually, open trails can be filled too, but this usually
  533.          isn't desirable. When you fill an open trail, a construction
  534.          (weight: -1) line automatically connects the beginning and
  535.          end of the set of curves, to make a closed boundary suitable
  536.          for filling.) Boxes (see Section 8.1), squares (Section
  537.          8.2), circles (Section 8.3), and ovals (ellipses) (Section
  538.          8.4) all are automatically made into closed trails when they
  539.          are drawn.
  540.            Most of the time while drawing in PictureThis, you need
  541.          not be concerned about trails. They are automatically made
  542.          for you as you draw curves. Every curve is placed in a
  543.          trail, as noted above (some trails contain only one curve),
  544.          and no curve is in more than one trail. However, if you want
  545.          to fill an area that is enclosed by curves which weren't
  546.          continuously drawn, or if you want to manipulate only part
  547.          of an existing trail, you can still do so by defining a new
  548.          trail (see Section 14.1). You also can define trails which
  549.          are made of two or more unconnected subtrails; these are
  550.          useful for doing "fancy" fills, especially for making holes
  551.          in filled areas (see Section 14.3).
  552.            To define or modify existing trails, access the trail menu
  553.          by pressing F6. The state is changed to "TRAIL," and the
  554.          trail menu appears. This menu allows you to define a new
  555.          trail, or erase, fill, or change the line parameters for an
  556.          existing trail. It also allows you to copy an object
  557.          (defined in Section 16) to one or more endpoints of a trail,
  558.          as described in Section 17.7.
  559.  
  560.          14.1. DEFINING A TRAIL
  561.  
  562.            You can define a trail composed of any previously drawn
  563.          curves. To begin this operation while in the "TRAIL" state,
  564.  
  565.                                         25
  566.  
  567.          press D. The state changes to "DEFTRL," the cursor jumps to
  568.          the nearest endpoint, and any curves with that endpoint are
  569.          dashed (just as if you had pressed Del). Press Space, +,
  570.          and/or - repeatedly until the cursor is on the endpoint
  571.          where you want to BEGIN a new trail. Next, press Enter. A
  572.          box with instructions ("Next curve: +, Space"/"Select curve:
  573.          Enter"/"Next endpoint: Del"/"Done: D") appears on the left
  574.          side of the screen, and one curve with the selected endpoint
  575.          is dashed to distinguish it. If you want to start the trail
  576.          with the dashed curve, press Enter. Otherwise, by pressing
  577.          Space, +, and/or - repeatedly, you can cause each of the
  578.          curves with the endpoint to be dashed successively. When the
  579.          curve with which you want to start the trail is dashed,
  580.          press Enter. This curve is dashed-and-dotted to show that it
  581.          has been chosen as part of your trail, and the cursor moves
  582.          to the other endpoint of the curve, where you can again
  583.          select any curve (except ones already selected for the
  584.          trail) to be the next curve in the trail. Continue with this
  585.          process until the final curve which you want in the trail is
  586.          selected. Then press D. Your trail is established.
  587.            Alternatively, if your trail is to be made of disjoint
  588.          subtrails (see Section 14.3.2 for why you might want to do
  589.          this), with the cursor at any endpoint, instead of
  590.          immediately selecting an associated curve, move the cursor
  591.          to a different endpoint to start a new subtrail by pressing
  592.          Del, followed by Space, +, and/or - repeatedly, and finally
  593.          Enter to select a new endpoint as usual. Then you can
  594.          continue, as above, selecting curves for your subtrail. You
  595.          can make as many subtrails as you want. When the entire
  596.          trail is complete, press D to establish it. (Note: In the
  597.          process of defining the trail, if you reach an endpoint for
  598.          which all associated curves have already been chosen for the
  599.          trail, you have a choice only between pressing D to
  600.          establish the trail and Del to start another subtrail.)
  601.            If at any time during the trail definition process you
  602.          press Esc, the selected curves are returned to normal, the
  603.          state becomes "TRAIL," and the trail menu reappears.
  604.            When your trail has been established, it remains "dashed-
  605.          and-dotted" while two prompts appear successively, allowing
  606.          the specification of a fill percentage and changed line
  607.          parameters for (ALL curves in) the newly defined trail. The
  608.          first prompt asks for a gray fill percentage; it is
  609.          identical to the prompt described in Section 14.3.1. (Note:
  610.          Once a new trail has been established by pressing D, you
  611.          CANNOT "back out" to the trail defining process. Pressing
  612.          Esc while at the fill prompt just continues with the next
  613.          prompt and leaves the defined trail with NO (-1;
  614.          transparent) fill.) The next prompt states: "Change
  615.          parameters of ALL curves (Y/N)?" If you answer Y, a line
  616.          parameter menu identical to the one described in Section
  617.          14.4 appears, and you can change the line parameters of ALL
  618.          curves in the trail to be identical and set the join
  619.          parameter (see Section 14.4.2) for the trail. When these two
  620.          prompts have been answered, the new trail is again solid and
  621.          the state returns to "FREE."
  622.            What happens to the previously defined trails that
  623.          contained curves now in the newly defined trail? PictureThis
  624.          automatically takes care of this in one of two ways. If a
  625.          curve was in a trail which had a fill, or was part of an
  626.          object (see Section 16), the curve is duplicated
  627.  
  628.                                         26
  629.  
  630.          automatically, so identical curves are in BOTH the old and
  631.          new trails. (Remember, a curve cannot be in more than one
  632.          trail at a time.) Otherwise, the curve is removed from its
  633.          old trail. (If all curves are removed from a trail, the
  634.          trail becomes undefined.)
  635.            The process of defining a trail sounds rather complicated
  636.          in words, but it is actually quite simple for the most
  637.          common class of trails (simple closed trails) -- and it
  638.          isn't very difficult for even quite complex trails.
  639.          PictureThis automatically does most of the work for you.
  640.          Just try it and check your results with the Quickshow
  641.          screen. Also, if you are careful to draw curves
  642.          continuously, as described above, you will only rarely have
  643.          to define a trail.
  644.  
  645.          14.2. ERASING A TRAIL
  646.  
  647.            An entire trail can be erased, whether filled or not. At
  648.          the trail menu, press E. The state changes to "ERASE," the
  649.          cursor jumps to the closest initial point of a trail, and
  650.          the entire trail is dashed. (The initial point of a trail is
  651.          the first endpoint of the first curve drawn for
  652.          automatically defined trails, or the first endpoint selected
  653.          for manually defined trails.) A box with instructions
  654.          appears on the left side of the screen ("Next: +, Space"/
  655.          "Previous: -"/"Select: Enter"). If the dashed trail is the
  656.          one you want to erase, press Enter. If you want to select a
  657.          different trail, press Space, +, and/or - repeatedly until
  658.          the trail you want to erase is dashed, then press Enter. If
  659.          only one trail's initial point is on-screen, it is selected
  660.          automatically, and the instruction box does not appear. (If
  661.          you press Esc during this process, the trail menu reappears,
  662.          and the state returns to "TRAIL.")
  663.            A prompt appears: "Erase selected trail? (Y/N)." If you
  664.          want to erase the dashed trail, press Y; the trail is erased
  665.          and the state returns to "FREE." Otherwise, press any other
  666.          key; the trail menu reappears and the state returns to
  667.          "TRAIL."
  668.  
  669.          14.3. FILLING A TRAIL
  670.  
  671.            An already existing trail (either automatically or
  672.          manually defined) can be filled with a gray shade.
  673.  
  674.          14.3.1. SPECIFYING A FILL GRAY PERCENTAGE
  675.  
  676.            While in the "TRAIL" state, to fill an unfilled trail, or
  677.          to change the gray percentage of (or "unfill") a previously
  678.          filled trail, press F. The state changes to "FILL," the
  679.          cursor jumps to the closest initial point of a trail, and
  680.          that trail is dashed. (The initial point of a trail is the
  681.          first endpoint of the first curve drawn for automatically
  682.          defined trails, or the first endpoint selected for manually
  683.          defined trails.) A box with instructions will appear on the
  684.          left side of the screen ("Next: +, Space"/ "Previous: -"
  685.          /"Select: Enter"). If the dashed trail is the one you want
  686.          to fill, press Enter. If you want to select a different
  687.          trail, press Space, +, and/or - repeatedly until the trail
  688.          you want to fill is dashed, then press Enter. If only one
  689.          trail has its initial point on-screen, it is selected
  690.  
  691.                                         27
  692.  
  693.          automatically, and the instruction box does not appear. (If
  694.          you press Esc during this process, the trail menu reappears,
  695.          and the state returns to "TRAIL.")
  696.            A fill prompt appears. The first line of the prompt gives
  697.          the current fill percentage, from 0% (white) to 100%
  698.          (black). A fill percentage of -1% means that the trail is
  699.          not filled; it is transparent, NOT opaque. The second line
  700.          requests that you enter a gray percentage. If you are
  701.          satisfied with the current fill gray percentage, just press
  702.          Enter and it is not changed. If you want to "unfill" the
  703.          trail, enter a -1 at the prompt. Otherwise, enter a number
  704.          between 0 (white) and 100 (black). Upon your valid entry,
  705.          the trail is filled and the state returns to "FREE." (If you
  706.          press Esc instead of entering a fill, the state returns to
  707.          "TRAIL," and the trail menu reappears.)
  708.            The Quickshow screen shows approximate grays as 33
  709.          gradually darkening patterns. Actual grays on PostScript
  710.          output devices vary considerably. You will have to
  711.          experiment with the grays on the particular printer you are
  712.          using to find the most appropriate ones for your drawings.
  713.  
  714.          14.3.2. RESULTS OF FILLING A TRAIL
  715.  
  716.            PictureThis (and PostScript) fills are NOT like those of
  717.          "paint" programs, in which a fill "paints" the interior of a
  718.          simple closed boundary. There are three main differences:
  719.            1. PictureThis fills (except "no fill," -1) are "opaque."
  720.          If one trail overlaps another trail, and the trail "in
  721.          front" is filled, the portions of the second trail which are
  722.          "behind" (or "under") the first trail are not visible on the
  723.          Quickshow screen or on the PostScript output. Try this by
  724.          drawing a circle and filling it with some shade of gray.
  725.          Then draw a box that overlaps the circle and fill it with a
  726.          different shade of gray. Now look at it on the Quickshow
  727.          screen. Part of the circle is entirely covered by the box.
  728.          You actually can see the circle draw and then see the box
  729.          cover it. It is as if the objects were cut out and pasted on
  730.          the drawing, in order. The order in which trails are
  731.          "pasted" on the Quickshow screen (and the PostScript output)
  732.          initially is determined by the order in which they are drawn
  733.          or defined (the earliest drawn/defined are "pasted on"
  734.          first), but the order can be changed easily (see Section
  735.          16.4).
  736.            2. PictureThis trails which form simple closed boundaries,
  737.          such as boxes or circles, are filled exactly as you would
  738.          expect: their interiors are filled with the selected shade
  739.          of gray. (This is the most useful type of trail to fill and
  740.          should suffice for most purposes.) But trails are not at all
  741.          limited to simple closed boundaries. A single trail can
  742.          cross itself many times, and can have many disjoint
  743.          subtrails. How does PictureThis determine which parts of a
  744.          complex trail will be inside the trail, and thus filled? It
  745.          uses the "non-zero winding number rule." This means that
  746.          starting at any point, it (conceptually) draws a line from
  747.          that point in any direction to infinity, examining each
  748.          curve of the path the line crosses. Starting with a count of
  749.          zero, it adds one each time a curve crosses the line from
  750.          left to right and subtracts one each time a curve crosses
  751.          the line from right to left. When it has completed crossing
  752.          all the curves in the trail along the line, if the count is
  753.  
  754.                                         28
  755.  
  756.          zero, the starting point is outside the trail and will not
  757.          be colored gray; otherwise, the point is inside the trail
  758.          and will be colored.
  759.            In practice, that means that the directions in which
  760.          trails are drawn or defined is important for complex trails.
  761.          However, you'll probably need to worry about the direction
  762.          of trails only very rarely. It's fun to draw or define
  763.          complex trails with many crossings and subpaths and then
  764.          fill them and view them on the Quickshow screen. However,
  765.          complex trails aren't very useful in most "real" drawings.
  766.          There is one notable exception, however: occasionally, you
  767.          might want to create a "window" or "hole" through a trail,
  768.          to let what is behind the trail show through. This is very
  769.          simple to accomplish. As an example, try this. Draw two
  770.          boxes, one with its boundaries totally inside the other,
  771.          like a window in a door. Now define a new trail consisting
  772.          of two subtrails (the two boxes) as follows: Press F6 to
  773.          access the trail menu. Press D to define a trail. Press +
  774.          until the cursor is on the lower left endpoint of the outer
  775.          box, and then press Enter. Press + and Enter or just Enter
  776.          to select the left side of the box. The left side of the box
  777.          is dashed-and-dotted, indicating that it is part of the
  778.          trail, and the cursor jumps to the top left corner of the
  779.          outer box. Press Enter three more times, selecting the top,
  780.          right, and bottom sides of the outer box. The cursor should
  781.          now be at the lower left corner of the outer box again, and
  782.          the outer box should be all dashed-and-dotted. Now press Del
  783.          followed by + repeatedly until the cursor is on the lower
  784.          left corner of the inner box. Then press Enter. Select the
  785.          bottom of the inner box and press Enter. Press Enter three
  786.          more times to select the right, top, and left sides of the
  787.          inner box. Notice that you defined the subtrail of the inner
  788.          box in the direction OPPOSITE that of the subtrail of the
  789.          outer box. (The DIFFERENCE IN DIRECTIONS OF THE SUBTRAILS is
  790.          what is important, not which endpoint you start with, or
  791.          which direction you initially choose.) Now press D to
  792.          establish the trail. At the fill prompt, enter some shade of
  793.          gray and press any key except Y to answer the query about
  794.          changing the parameters of all curves in the trail. Now
  795.          press Q to see the Quickshow screen. Your screen should show
  796.          you a box with a box-shaped "window" in it. Anything behind
  797.          the trail will show through the "window." This procedure
  798.          generalizes to much more complex shapes in the obvious way;
  799.          just be sure that the inner trail is defined in the opposite
  800.          direction to the outer trail, if you want a "window." (If
  801.          the inner and outer trails are defined in the SAME
  802.          direction, the window will be FILLED.)
  803.            3. PictureThis can fill trails which are not closed. It
  804.          does this by drawing a straight line with line weight -1
  805.          (that is, a construction line) from the final endpoint of
  806.          each subtrail to the first point of that subtrail, and then
  807.          filling the resulting trail. Try it. Draw a trail of two
  808.          curves on the screen (with the second endpoint of the second
  809.          curve NOT the same as the first endpoint of the first curve)
  810.          and then fill it. PictureThis automatically connects the end
  811.          of the trail with the beginning of the trail and fills the
  812.          resulting trail. (You'll probably find that this feature is
  813.          useful only occasionally.)
  814.  
  815.          14.4. CHANGING THE LINE PARAMETERS OF A TRAIL
  816.  
  817.                                         29
  818.  
  819.            PictureThis allows you to change the line parameters for
  820.          ALL of the curves in a trail at one time. Trails are made up
  821.          of curves with various line weights, line gray percentages,
  822.          linecaps, and dash patterns. (This is where trails differ
  823.          from PostScript-language "paths," each of the latter made up
  824.          of curves which all have the same line weight, line gray
  825.          percentage, dash, and linecap.) It is often (but not always)
  826.          best for all of the curves in a trail to have the same line
  827.          parameters (see Section 14.4.3), making the trail equivalent
  828.          to a PostScript "path." To change the line parameters for
  829.          all of the curves in a trail, while in the "TRAIL" state
  830.          press L. The state changes to "TRLNS," the cursor jumps to
  831.          the closest on-screen initial point of a trail, and that
  832.          trail is dashed. (The initial point of a trail is the first
  833.          endpoint of the first curve drawn for automatically defined
  834.          trails, or the first endpoint selected for manually defined
  835.          trails.) A box with instructions appears on the left side of
  836.          the screen ("Next: +, Space"/ "Previous: -"/"Select:
  837.          Enter"). If you want to change the line parameters of the
  838.          dashed trail, press Enter. If you want to select a different
  839.          trail, press Space, +, and/or - repeatedly until the trail
  840.          you want to change is dashed, then press Enter. If only one
  841.          trail is on-screen, it is selected automatically, and the
  842.          instruction box does not appear. (If you press Esc during
  843.          this process, the trail menu reappears, and the state
  844.          returns to "TRAIL.")
  845.            A line parameter menu appears, similar but not identical
  846.          to the line parameter menu for single curves (see Section
  847.          12.3). The top line of this menu shows the items which can
  848.          be changed ("Weight," "Gray," "Linecap," and "Dash," as in
  849.          the line parameter for single curves, and a new item:
  850.          "Join"), plus the word "Keep." The second line of the menu
  851.          displays the current values of these parameters for the
  852.          selected trail. If any of these parameters have different
  853.          values for different curves in the trail, the word "MIXED"
  854.          appears under that parameter.
  855.  
  856.          14.4.1. CHANGING THE LINE WEIGHT, LINE GRAY, LINECAP, OR
  857.                  DASH PATTERN FOR ALL CURVES IN A TRAIL
  858.  
  859.            To change the line weight, line gray percentage, linecaps,
  860.          or dash for all the curves in a trail, press W, G, L, or D
  861.          respectively, and proceed exactly as for a single curve (see
  862.          Section 12.3). (Note: You subsequently can change the line
  863.          parameters of any individual curve in the trail to any
  864.          value.)
  865.  
  866.          14.4.2. CHANGING THE JOIN FOR A TRAIL
  867.  
  868.            The word "Join" in the top line of the menu refers to the
  869.          manner in which the curves in a trail are connected together
  870.          where they join at endpoints. Like linecaps, linejoins are
  871.          insignificant for thin lines, but important for thick lines.
  872.            To change the linejoin of a trail, press J. The join menu
  873.          appears. The first line shows the current linejoin. The
  874.          second line requests that you enter a new linejoin. The
  875.          three possible linejoins are mitered, rounded, and beveled.
  876.          For mitered joins, the outside edges of the curves are
  877.          extended in straight lines until they meet, and filled in.
  878.          For rounded joins, the curves are connected by a rounded
  879.  
  880.                                         30
  881.  
  882.          end, formed by a circle with diameter equal to the line
  883.          width. For beveled joins, the curves are connected with butt
  884.          linecaps and filled in to form a bevel. If a mitered join is
  885.          specified for a join where two curves meet at a small angle
  886.          (anything less than approximately 11 degrees), the join is
  887.          beveled to prevent the join from being too long.
  888.            When a trail is drawn or defined, the join parameter for
  889.          that trail is set to the current global linejoin. The
  890.          initial setting for the global join in PictureThis is
  891.          rounded, but this can be changed at any time (see Section
  892.          15.1). Boxes always are given mitered joins (square corners)
  893.          initially, no matter what the global join value, but a box's
  894.          join can be changed later.
  895.            To set the join for a trail, press M, R, or B for mitered,
  896.          rounded, or beveled linejoins, respectively. Pressing Esc
  897.          backs out without changing the current linejoin. In all of
  898.          these cases, the line parameters menu reappears. When you
  899.          are satisfied with all the line parameters, press K (for
  900.          "Keep") or Enter; the line parameters for all of the curves
  901.          in the trail and the trail's join are changed, and the state
  902.          returns to "FREE." (If you press Esc, the parameters are not
  903.          changed, the state returns to "TRAIL," and the trail menu
  904.          reappears.)
  905.            A good way to see the different types of linejoins is to
  906.          set the global line weight to some high value, say 100
  907.          points (see Section 15.1), draw three similar trails having
  908.          at least two curves which meet at an angle, set the linejoin
  909.          values differently for each of the trails, and view their
  910.          joins on the Quickshow screen. Also try drawing a box with
  911.          thick lines and changing its linejoin value.
  912.  
  913.          14.4.3. TRAILS MADE OF CURVES WITH DIFFERENT LINE PARAMETERS
  914.  
  915.            If a trail is made of curves all of which have the same
  916.          line weight and line gray percentage, the joins at all
  917.          endpoints are set by the linejoin specified for the trail.
  918.          If the trail is closed (or subtrails are closed), even the
  919.          final join of the trail (or subtrail) where the final curve
  920.          connects to the initial curve are as specified. If the trail
  921.          (or subtrail) is not closed, the linecaps at BOTH ends of
  922.          the trail (or subtrail) are whatever linecap type is
  923.          specified for the LAST curve of the trail (or subtrail).
  924.            If a trail is made of curves of different line weights,
  925.          different line gray percentages, or different dash patterns,
  926.          each time there is a change in one or more of the three
  927.          parameters along the trail, PictureThis treats it as a the
  928.          beginning of a new subtrail (even if the last curve is
  929.          connected to the current one). That is, as long as the
  930.          weight, gray, and dash pattern are the same for each
  931.          successive curve, the joins are the specified join, but if
  932.          the next curve has a different weight, gray, and/or dash
  933.          pattern the "subtrail" ends with a linecap which is the same
  934.          as that of the last curve before the change (its first
  935.          linecap is the same, too). Then the next curve starts with a
  936.          linecap. NO JOIN IS MADE. If there are any changes in
  937.          weight, gray, or dash pattern along a closed trail, the
  938.          final join is NOT joined, even if the last curve is the same
  939.          line weight, gray, and dash pattern as the first curve. If
  940.          you are in doubt as to which linecaps and joins will appear
  941.          on a particular trail, check it on the Quickshow screen, at
  942.  
  943.                                         31
  944.  
  945.          large magnification if necessary.
  946.            As you can see, it is generally desirable to have trails
  947.          with curves all of one line weight and gray, but there are
  948.          times when you want to fill an area bounded by curves of
  949.          different grays or line weights. This is perfectly legal,
  950.          and, if you are careful, the places where two linecaps meet
  951.          can look perfectly acceptable (see Section 27.4).
  952.  
  953.                                         32
  954.  
  955.